*** Copy thy neighbour: Spatial interdependences in the democracy-repression nexus ***
*** Journal of Human Rights ***
*** Created by Roman-Gabriel Olar on 01/05/2019 ***
*** Last modified on 25/08/2023 ***

*** Figure 2 - Substantive Effects  ***

import excel "substantive_uncertain.xls", sheet("estimates spatial") firstrow clear
set scheme plottig


twoway (scatter var estimate if model==1, sort) (scatter var estimate if model==2, sort) (rspike lb ub var if model==1, horizontal) (rspike lb ub var if model==2, horizontal)  ///
		(scatter var estimate if model==3, sort) (scatter var estimate if model==4, sort) (rspike lb ub var if model==3, horizontal) (rspike lb ub var if model==4, horizontal) ///
		(scatter var estimate if model==5, sort) (scatter var estimate if model==6, sort) (rspike lb ub var if model==5, horizontal) (rspike lb ub var if model==6, horizontal) ///				(scatter var estimate if model==5, sort) (scatter var estimate if model==6, sort) (rspike lb ub var if model==5, horizontal) (rspike lb ub var if model==6, horizontal), ///
		(scatter var estimate if model==7, sort) (scatter var estimate if model==8, sort) (rspike lb ub var if model==7, horizontal) (rspike lb ub var if model==8, horizontal), ///
		xline(0, lpattern(dash)) legend(on) legend(rows(2) pos(6))  name(graph2, replace)

		**Please note that Figure 2 was edited by hand***
